//
// Created by shao.liming on 2/5/2018.
//

#ifndef CHAPTER3_C103_H
#define CHAPTER3_C103_H

#include <string>

typedef struct node{
    int value;
    struct node* left;
    struct node* right;
}Node;

class C103 {
public:
    std::string serialByPre(Node *head);
    Node *reconByPreString(std::string preStr);


    void test();

private:

    Node *newNode(int val);
};


#endif //CHAPTER3_C103_H
